//Nim 游戏
//https://leetcode.cn/problems/nim-game/?envType=daily-question&envId=2024-02-04
class Solution {
public:
    bool canWinNim(int n) {
        //只要轮到自己时 石头少于三块即可
        return n%4!=0;
    }
};